from django.urls import path
from .views import (
    RegisterView, UserProfileView, SendVerificationCodeView, 
    VerifyCodeView, ChangePasswordView, UserLoginView, LogoutView
)

urlpatterns = [
    path('send-verification-code/', SendVerificationCodeView.as_view(), name='send-verification-code'),
    path('verify-code/', VerifyCodeView.as_view(), name='verify-code'),
    path('register/', RegisterView.as_view(), name='register'),
    path('login/', UserLoginView.as_view(), name='user-login'),
    path('profile/', UserProfileView.as_view(), name='profile'),
    path('change-password/', ChangePasswordView.as_view(), name='change-password'),
    path('logout/', LogoutView.as_view(), name='user-logout'),
]
